package com.vcc.service.boss.request.userCard;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Getter
@Setter
public class UserCardOutDto implements Serializable {
    @NotNull(message = "请选择卡片")
    private Long id;

    @NotNull(message = "请填写提现金额")
    @Min(value = 0, message = "提现金额不能小于0")
    private BigDecimal amount;

    private String remark;
}
